﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Configuration;

namespace ScreenshotCapturer
{
    public partial class GNU : Form
    {
        public GNU()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Please remove this software from your machine if you do not agree to the terms of use. Are you sure you wish to continue?", "Are you sure?", MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                Application.Exit();
            }
        }

        private void GNU_Load(object sender, EventArgs e)
        {
            richTextBox1.Text = ConfigurationManager.AppSettings["GNUGPL"].ToString();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Config.editConfig("FTR", "1");
            Form1 f = new Form1();
            f.Show();
            this.Owner = f;
            this.Hide();
           
        }
    }
}
